<table style="width: 100%;" cellpadding="4" cellspacing="0">
    <tr>
        <td class="border2">
            <table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
                    <td class="block_header">{language text="featured_pic"}</td>
                </tr>
            </table>
            <div style="text-align:center;">
            {if $bNo}
            <div class="message_info">
            {language text="no_featured_pics_added_yet"}
            </div>
            {else}
            <table style="margin-left:auto;margin-right:auto;"><tr><td>
            <div class="wrap1">
            <div class="wrap2">
            <div class="wrap3">
            <a href="{url link='public.gallery.view' id=$iId}">
                {img src="`$sGImageUrl`thumb/`$iId`.jpg" src_def="design/pic/noimage_120.jpg" style="vertical-align:middle;" class="pic1" onmouseover="this.className='pic2';" onmouseout="this.className='pic1';"}
            </a>
            </div>
            </div>
            </div>
            </td></tr></table>
            {/if}
            </div>
        </td>
    </tr>
</table>